package com.beiye.drivertransport.activity;

import com.android.frame.ui.BaseActivity;


/**
 * Created by yuyongxue on 2017/4/26.
 */

 public abstract class TwoBaseAty extends BaseActivity {



    /**
     * 设置状态栏颜色
     *
     * @param activity
     */
//    public void showBarsColor(Activity activity, String colorString) {
//        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
//            Window window = activity.getWindow();
//            window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
//            if (Toolkit.isEmpty(colorString))
//                window.setStatusBarColor(Color.parseColor("#1949cd"));//蓝色
//            else
//                window.setStatusBarColor(Color.parseColor(colorString));//自定义色
//
//        }
//    }


}
